func go/types.hasName
12 uses
go/types (current package)
infer.go#L140: if hasName(arg.typ) {
operand.go#L276: if Identical(Vu, Tu) && (!hasName(V) || !hasName(T)) && Vp == nil && Tp == nil {
operand.go#L308: return !hasName(V) || !hasName(T), _InvalidChanAssign
operand.go#L329: if !hasName(V) && Tp != nil {
operand.go#L349: if Vp != nil && !hasName(T) {
predicates.go#L61: func hasName(t Type) bool {
unify.go#L315: if nx, _ := x.(*Named); nx != nil && !hasName(y) {
unify.go#L320: } else if ny, _ := y.(*Named); ny != nil && !hasName(x) {
unify.go#L361: if isTypeParam(x) && !hasName(y) {
unify.go#L379: } else if isTypeParam(y) && !hasName(x) {
The pages are generated with Golds v0.4.9. (GOOS=linux GOARCH=amd64)